"""本地测试启动文件"""
import services.thread_log
import time
import datetime as dt
import threading
import multiprocessing

from services import service_get_contracts
import pandas as pd
import tablib as tb
import common.constants as const


def test():
    log = services.thread_log.LogThread()
    print("start.py is running")

    log.setContent("SA HQ was started  ")
    log.setContent("SA HQ was stopped  ")

    log.printLog()
    time.sleep(1)

    log.setContent("SA2509 HQ was started  ")
    log.setContent("SA2509 HQ was stopped  ")
    time.sleep(1)


    
if __name__ == "__main__":
    import services.service_start as start

    start.execute_for_once()